package com.bobo.pojo;


import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;
@Data
@TableName("tz_prod")
public class ProdComm {
  /**
   * 主键
   */
  @TableId
  private Integer prodCommId;
  private Integer prodId;
  private Integer orderItemId;
  private String userId;
  private String content;
  private String replyContent;
  private String recTime;
  private String replyTime;
  private Integer replySts;
  private String postip;
  private Integer score;
  private Integer usefulCounts;
  private String pics;
  private Integer isAnonymous;
  private Integer status;
  private Integer evaluate;

  //好评
  @Schema(description = "好评率" )
  private Double positiveRating;

  @Schema(description = "评论数量" )
  private Integer number;

  @Schema(description = "好评数" )
  private Integer praiseNumber;

  @Schema(description = "中评数" )
  private Integer secondaryNumber;

  @Schema(description = "差评数" )
  private Integer negativeNumber;

  @Schema(description = "有图数" )
  private Integer picNumber;

}
